﻿using System;
using System.Collections.Generic;
using System.Reactive;
using System.Threading.Tasks;
using WpfFeeCalculator.FeeWcfService;

namespace WpfFeeCalculator.Model
{
    public interface IFeeFacade
    {
        IObservable<System.Reactive.EventPattern<GetPortfoliosCompletedEventArgs>> GetPortfoliosAllAsync();
        IObservable<System.Reactive.EventPattern<GetPriceCutOffsCompletedEventArgs>> GetPriceCutOffsForPortfolioAllAsync(int portfolioId);
        
        Task<List<PriceCutOff>> GetPriceCutOffsForPortfolio(int portfolioId);
        Task<DataResult> GetPortfolioExcel(Portfolio portfolio, DateTime date, PriceCutOff priceCutOff);
        
        
    }
}
